public abstract class ObjectVolume {
    abstract double getVolume();
    abstract double getArea();
}